package com.hp.entity;

public class Product {
    private int Id;
    private String Name;
    private double Price;
    private int IsUp;
    private int CategroyId;

    public Product() {
    }

    public Product(int id, String name, double price, int isUp, int categroyId) {
        Id = id;
        Name = name;
        Price = price;
        IsUp = isUp;
        CategroyId = categroyId;
    }

    @Override
    public String toString() {
        return "Product{" +
                "Id=" + Id +
                ", Name='" + Name + '\'' +
                ", Price=" + Price +
                ", IsUp=" + IsUp +
                ", CategroyId=" + CategroyId +
                '}';
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public double getPrice() {
        return Price;
    }

    public void setPrice(double price) {
        Price = price;
    }

    public int getIsUp() {
        return IsUp;
    }

    public void setIsUp(int isUp) {
        IsUp = isUp;
    }

    public int getCategroyId() {
        return CategroyId;
    }

    public void setCategroyId(int categroyId) {
        CategroyId = categroyId;
    }
}
